package com.yixin.hospital.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PurchaseOrderVO {

    private Long id;
    private String code;
    private String plan;
    private String type;
    private Long applyDepository;
    private String applyDepositoryName;
    private Long dept;
    private String deptName;
    private Integer drugTypeNum;
    private Integer drugNum;
    private Integer status;
    private Integer auditStatus;
    private Integer godownStatus;
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    private Boolean canAudit = false;

    private List<DrugDepositoryAllDrugVo> purchaseOrderDrugList;

}
